<?php

namespace App\Model\Question;

use App\Model\Model;
use Hyperf\Database\Model\SoftDeletes;

/**
 * @property integer $id
 * @property string $title
 * @property datetime $create_time
 * @property datetime $update_time
 * @property datetime $delete_time
 */
class QuestionDescCharacterItem extends Model
{
    use SoftDeletes;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'question_desc_character_item';

    protected $fillable = [
        'title',
        'desc',
    ];

    public function QuestionDescItem(){
        return $this->hasMany(QuestionDescItem::class,'question_desc_id','id');
    }
//    public function QuestionDetail(){
//        return $this->hasMany(QuestionDetail::class,'question_id','id');
//    }

}

